﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Freshome.p.Models
{
    public class Recipe
    {
        public b.Recipe Entity { get; set; }

        [StringLength(50)]
        [Required]
        [DataType(DataType.MultilineText)]
        public string Comment { get; set; }

        [Required]
        [Display(Name = "验证码")]
        public string Captcha { get; set; }
    }
}